package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`onl_cgform_index`")
@Data
@ApiModel("")
public class OnlCgformIndex implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "主键", example = "String")
    private String id;
    @Column(name = "`cgform_head_id`")
    @ApiModelProperty(value = "主表id", example = "String")
    private String cgformHeadId;
    @Column(name = "`index_name`")
    @ApiModelProperty(value = "索引名称", example = "String")
    private String indexName;
    @Column(name = "`index_field`")
    @ApiModelProperty(value = "索引栏位", example = "String")
    private String indexField;
    @Column(name = "`index_type`")
    @ApiModelProperty(value = "索引类型", example = "String")
    private String indexType;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人登录名称", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建日期", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人登录名称", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新日期", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`is_db_synch`")
    @ApiModelProperty(value = "是否同步数据库N未同步Y已同步", example = "N")
    private String isDbSynch;
    @Column(name = "`del_flag`")
    @ApiModelProperty(value = "是否删除0未删除1删除", example = "0")
    private Integer delFlag;

    private static final long serialVersionUID = 1L;
}
